
// FillDiskPublic.h : main header file for the PROJECT_NAME application
//

/*
*****************************************************************************
*                                                                           *
*   Program functions:                                                      *
*                                                                           *
*   Fill hard disk(s) by dummy files                                        *
*                                                                           *
*   Author: Allan Qiu                                                       *
*                                                                           *
*   Version: 1.1.0.1                                                        *
*                                                                           *
*   Latest update: 2012-06-17 by Allan Qiu                                  *
*                                                                           *
*****************************************************************************
*/

#pragma once

#ifndef __AFXWIN_H__
	#error "include 'stdafx.h' before including this file for PCH"
#endif

#include "resource.h"		// main symbols


// CFillDiskPublicApp:
// See FillDiskPublic.cpp for the implementation of this class
//

class CFillDiskPublicApp : public CWinApp
{
public:
	CFillDiskPublicApp();

// Overrides
public:
	virtual BOOL InitInstance();

// Implementation

	DECLARE_MESSAGE_MAP()

private:
	//Command Args value
	enum enumCmdArgs
	{
		CA_ErrorArgs = -1,
		CA_NoArgs = 0,
		CA_HelpArg,
		CA_CleanArg,
		CA_FillAllDisksArg,
		CA_FillSomeDisksArg
	};

	CList<CString, CString&> m_strArgsList;

public:
	//Check the inputted args.
	enum enumCmdArgs CheckCmdParams();

	BOOL IsHelpArg();
	BOOL IsCleanArg();
	BOOL IsFillDisk();
	BOOL IsFillAllDisk();
	BOOL IsFillSomeDisk();

};

extern CFillDiskPublicApp theApp;